/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/04/16
\**********************/
#ifndef __LUA_COLORPALETTE_H__
#define __LUA_COLORPALETTE_H__
#pragma once

#include "../../Core/LuaControl.h"

namespace DuiLib {

class LuaColorPalette : public LuaControl
{
    SDLUA_CLASS_DECLARE(LuaColorPalette);

    DWORD GetSelectColor();
    void SetSelectColor(DWORD dwColor);

    void SetPalletHeight(int nHeight);
    int	GetPalletHeight();

    void SetBarHeight(int nHeight);
    int GetBarHeight();

    int SetThumbImage(LuaState *L);
    int GetThumbImage(LuaState *L);

    int SetPos(LuaState *L);
};

}

#endif //__LUA_COLORPALETTE_H__